﻿using System;
using KillBill.Presentation.Common.WindowsForms.AutoValidableControls;
using KillBill.Presentation.Modules.Clients.IView;
using System.Windows.Forms;
using KillBill.Presentation.Modules.Clients.Presenter;

namespace KillBill.Presentation.Modules.Clients.View
{
    public partial class AddClientView : Form , IAddClient

    {
        public AddClientView()
        {
            InitializeComponent();
        }

        private void BtnCrearClick(object sender, EventArgs e)
        {
             
        }

        public AddClientPresenter Presenter
        {
            get; set;
        }

        public AVTextBox Id
        {
            get
            {
                return txtID;
            }
            set
            {
                txtID.Text = value.ToString();
            }
        }

        public AVTextBox Ruc
        {
            get
            {
                return txtRUC;
            }
            set
            {
                txtRUC.Text = value.ToString();
            }
        }

        public AVTextBox Nombre
        {
            get
            {
                return txtNombre;
            }
            set
            {
                txtNombre.Text = value.ToString();
            }
        }

        public AVTextBox Apellido
        {
            get
            {
                return txtApellido;
            }
            set
            {
                txtApellido.Text = value.ToString();
            }
        }

        public AVTextBox Email
        {
            get
            {
                return txtMail;
            }
            set
            {
                txtMail.Text = value.ToString();
            }
        }

        public AVTextBox Direccion
        {
            get
            {
                return txtDireccion;
            }
            set
            {
                txtDireccion.Text = value.ToString();
            }
        }

        public AVTextBox Telefono
        {
            get
            {
                return txtTelf;
            }
            set
            {
                txtTelf.Text = value.ToString();
            }
        }

        public string Fecha
        {
            get
            {
                return dtpFecha.Text;
            }
            set
            {
                dtpFecha.Text = value;
            }
        }

        private void dtpFecha_ValueChanged(object sender, EventArgs e)
        {

        }

        private void lblID_Click(object sender, EventArgs e)
        {

        }

        private void txtID_Load(object sender, EventArgs e)
        {

        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }


        string IAddClient.Id
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        string IAddClient.Ruc
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        string IAddClient.Nombre
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        string IAddClient.Apellido
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        string IAddClient.Email
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        string IAddClient.Direccion
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        string IAddClient.Telefono
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }
    }
}

